package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName LCourseTarget
 * @date 2021.08.24 11:21
 * @describe 学习分组表
 */
@TableName("l_course_target")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LCourseTarget对象", description="学习分组表")
public class LCourseTarget implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "course_target_id", type = IdType.AUTO)
    private Integer courseTargetId;

    @ApiModelProperty(value = "发布对象分类 0机构1分组")
    @TableField("course_target_type")
    private String courseTargetType;

    @ApiModelProperty(value = "学习id")
    @TableField("course_id")
    private Integer courseId;

    @ApiModelProperty(value = "发布对象")
    @TableField("course_target")
    private String courseTarget;

    public Integer getCourseTargetId() {
        return courseTargetId;
    }

    public void setCourseTargetId(Integer courseTargetId) {
        this.courseTargetId = courseTargetId;
    }

    public String getCourseTargetType() {
        return courseTargetType;
    }

    public void setCourseTargetType(String courseTargetType) {
        this.courseTargetType = courseTargetType;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getCourseTarget() {
        return courseTarget;
    }

    public void setCourseTarget(String courseTarget) {
        this.courseTarget = courseTarget;
    }
}
